package com.qingfeng;

/**
 * author: winsky
 * date: 2017/1/10
 * description:
 */
public class Config {

    public static int AGREE_REFUND = 2;//卖家已经退款等待买家确认
    public static int SUCCESS_REFUND=4;//退款成功
    public static int DISAGREE_REFUND1=-1;//卖家不同意退款
    public static int DISAGREE_REFUND2=-2;//卖家未收到货，不同意退款

    public static int TRADE_WAIT_PAY=1;//代付款
    public static int TRADE_WAIT_SEND=2;//待发货
    public static int TRADE_WAIT_RECV=3;//待收货
    public static int TRADE_FINISH=4;//交易完成
    public static int TRADE_WAIT_REVIEW=5;//待评价
    public static int TRADE_CLOSED=6;//交易关闭
    private static int AFTER_SELL_FINISH=7;//售后完成
    public static int TRADE_AFTER_SELL=-1;//仅退款
    public static int TRADE_AFTER_SELL_GOODS=-2;//退款退货
    public static int TRADE_AFTER_SELL_FAILED=-3;//退款失败



    public static int tradeDelayDay = 1;//可提现延迟天数

    public static int BILLTYPE_TRADE=1;//交易
    public static int BILLTYPE_BACK_FEE=2;//退回手续费
    public static int BILLTYPE_TRADE_FEE=-1;//交易手续费
    public static int BILLTYPE_WITHDRAW=-2;//提现
    public static int BILLTYPE_BACK=-3;//退款

    public final static int AUTH_IDENTITY=1;//身份证
    public final static int AUTH_PASSPORT=2;//护照
    public final static int AUTH_TAIWAN=3;//港台回乡证
    public final static int AUTH_HONGKONG=4;//港澳台居住证




    /**
     * 上传的图片的存放地址
     * 注意，需要在webapp下建立软连接，连接到此处
     * 图片的访问地址
     */
    public final static String RESOURCE_DIR = "/jerry_img/";

    //本机
    public final static String SERVER = "http://localhost:88/";
    public final static String UPLOAD_DIR = "E:/tomcat-9/webapps/jerry";
    public static String Marker = SERVER +"jerry/api/marker/show/";//添加商品，生成模板调用的api



}
